package com.gl.battleship.services.managers;

import java.util.List;

import com.gl.battleship.domain.Notification;
import com.gl.battleship.domain.User;
import com.gl.battleship.domain.UserState;
import com.gl.battleship.services.exceptions.UserException;

public interface IUserManager {

	public String logIn(String username, String password) throws UserException;
	public User getUser(String securityToken) throws UserException;
	public User getUserByNick(String nick) throws UserException;
	public String logOut(String securityToken) throws UserException;
	public List<User> listUsersByState(String securityToken, UserState userState)throws UserException;
	public List<User> listActiveUsers()throws UserException;
	public void removeInactiveUsers()throws UserException;
	public boolean validateNick(String nick) throws UserException;
	public boolean validateToken(String securityToken) throws UserException;
	


}
